/**
 * @author Dushaohua
 * @date 2024/4/17 11:01
 */
public class Divide {
    public void Divide1(int a,int b){
        if (b != 0){
            int c = a / b;
            System.out.println(c);
        }

    }
    public void  Divide2(int a,int b){
        if (b == 0){
            return;
        }
        int c = a / b;
        System.out.println(c);
    }
}
